package cn.biz;

import java.util.List;

import cn.entity.Ordergoods;
import cn.entity.Orders;
import cn.entity.User;

public interface OrdersBiz {
	String insert(Orders orders);
	String delete(Orders orders);
	String update(Orders orders);
	List getAll();
	Orders getOrdersById(Integer id);
	List<Orders> getOrdersListByBuyer(User user);
	List<Orders> getOrdersListBySeller(User user);
	List<Orders> getOrdersByOrderNum(String num);
	List<Ordergoods> getOrdergoodsByOrderId(int id);
	List<Integer> getLastWeekCompleteSize(String[] lastWeek);
}
